#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2025/5/13 16:33
# @Author  : XH
# @File    : apienv.py
# @Software: PyCharm
from common.handle_yaml import HandleYaml

"""
API公共区域需要用到的信息在这里进行封装
"""
def get_host():
    deault = HandleYaml("env_config.yaml").read_yaml()["login"]["host"]
    HOST = HandleYaml("env_config.yaml").read_yaml()["env"][deault]
    return HOST
if __name__ == '__main__':
    print(get_host())